﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.View;
namespace Benefit.Interface.View
{
    /// <summary>
    /// 交易员日资金情况
    /// </summary>
    public interface IOperatorDayMoney
    {
     
        /// <summary>
        /// 得到交易日账户信息
        /// </summary>
        /// <param name="accountMoneys"></param>
        /// <returns></returns>
        OperatorDayMoney GetOperatorDayMoney(List<Benefit.Models.Day.AccountDayMoney> accountMoneys, int operatorId, int tradeHistoryId);


        /// <summary>
        /// 初始化操作员资金信息
        /// </summary>
        /// <param name="tradeHistoryId"></param>
        /// <param name="db"></param>
        void InitOperatorDayMoney(int tradeHistoryId);

        void Delete(int tradeHistoryId);

        OperatorDayMoney GetOperatorDayMoney(int operatorid, int tradeHistoryId);
    }
}
